package com.ParkingManager.app.service.impl;
import java.sql.Timestamp;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ParkingManager.app.dao.StatisticsMapper;
import com.ParkingManager.app.service.StatisticsService;
@Service
public class StatisticsServiceImpl implements StatisticsService {

	@Autowired
	private StatisticsMapper  statisticsMapper;

	public int getCarCount(Map<String,Object>map) {
		// TODO Auto-generated method stub
		return statisticsMapper.getCarCount(map);
	}

	public double getIncome(Map<String,Object>map) {
		// TODO Auto-generated method stub
		return statisticsMapper.getIncome(map);
	}

}
